home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 52
/
Volume 52 - JOGO DISK .iso
/
Games
/
retroland.swf
/
scripts
/
DefineSprite_167
/
frame_1
/
PlaceObject2_126_1312
/
CLIPACTIONRECORD onClipEvent(enterFrame).as
Wrap
Text File
|
2007-10-01
|
365b
|
16 lines
onClipEvent(enterFrame){
if(_root.stage._x == _level0.mapX && _root.hero._y == 50)
{
this.gotoAndPlay(1);
}
else if(_root.hero.hitTest(this))
{
_level0.points += 1;
this.gotoAndStop(66);
}
else if(_root.heroOVER._currentframe == 100 || _root.heroEND._currentframe == 180)
{
this.gotoAndPlay(1);
}
}